package pers.xhh.frontapi.service;

import com.alipay.api.AlipayApiException;
import pers.xhh.frontapi.entity.vo.pay.PayAsyncVo;
import pers.xhh.frontapi.entity.vo.pay.PayOrderVo;

/**
 * @author wei-xhh
 * @date 2020-12-10
 */
public interface PayService {
    /**
     * 支付订单
     * @param payOrderVo 参数
     * @return 结果
     */
    String payOrder(PayOrderVo payOrderVo) throws AlipayApiException;

    /**
     * 修改订单状态
     * @return
     */
    boolean success();

    /**
     * 处理订单结算
     * @param vo
     * @return
     */
    String handlePayResult(PayAsyncVo vo);
}
